package com.pgyl.contract.validator;

import com.pgyl.contract.exceptions.ValidationException;
import com.pgyl.contract.model.Contract;

// 校验策略接口
public interface ContractValidator<T extends Contract> {

    void validate(T contract) throws ValidationException;
}


